package com.example.script.admin.model.dto;

import io.swagger.annotations.ApiModelProperty;

public class AdminUserDto {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "店铺用户名")
    private String adminUsername;
    @ApiModelProperty(value = "店铺名称")
    private String adminShortName;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "联系电话")
    private String phone;
    @ApiModelProperty(value = "店铺地址")
    private String address;

    public AdminUserDto(Long id, String adminUsername, String adminShortName, String password, String phone, String address) {
        this.id = id;
        this.adminUsername = adminUsername;
        this.adminShortName = adminShortName;
        this.password = password;
        this.phone = phone;
        this.address = address;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAdminUsername() {
        return adminUsername;
    }

    public void setAdminUsername(String adminUsername) {
        this.adminUsername = adminUsername;
    }

    public String getAdminShortName() {
        return adminShortName;
    }

    public void setAdminShortName(String adminShortName) {
        this.adminShortName = adminShortName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "AdminRegisterParam{" +
                "id=" + id +
                ", adminUsername='" + adminUsername + '\'' +
                ", adminShortName='" + adminShortName + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
